This package contains the example files and a demonstration program
for GTK4. It also contains the installed tests.
+Package: gtk-4-tests
+Build-Profiles: <!noinsttest>
+Section: x11
+Architecture: any
+Depends: iso-codes,
+ librsvg2-common,
+ ${misc:Depends},
+ ${shlibs:Depends},
+ libgtk-4-1 (= ${binary:Version}),
+Recommends: gnome-desktop-testing,
+ locales | locales-all,
+Description: "as-installed" tests for GTK 4
+ GTK is a multi-platform toolkit for creating graphical user
+ interfaces. Offering a complete set of widgets, GTK is suitable
+ for projects ranging from small one-off tools to complete application
+ suites.
+ .
+ This package contains installable test programs, primarily for use with
+ autopkgtest.
+
Package: gir1.2-gtk-4.0
Section: introspection
Architecture: any
This package contains the example files and a demonstration program
for GTK4. It also contains the installed tests.
+Package: @TESTS_PKG@
+Build-Profiles: <!noinsttest>
+Section: x11
+Architecture: any
+Depends: iso-codes,
+ librsvg2-common,
+ ${misc:Depends},
+ ${shlibs:Depends},
+ @SHARED_PKG@ (= ${binary:Version}),
+Recommends: gnome-desktop-testing,
+ locales | locales-all,
+Description: "as-installed" tests for GTK 4
+ GTK is a multi-platform toolkit for creating graphical user
+ interfaces. Offering a complete set of widgets, GTK is suitable
+ for projects ranging from small one-off tools to complete application
+ suites.
+ .
+ This package contains installable test programs, primarily for use with
+ autopkgtest.
+
Package: gir1.2-gtk-4.0
Section: introspection
Architecture: any
usr/bin/gtk4-icon-browser
usr/bin/gtk4-print-editor
usr/bin/gtk4-widget-factory
-usr/libexec/installed-tests/gtk-4.0
usr/share/applications/org.gtk.Demo4.desktop
usr/share/applications/org.gtk.IconBrowser4.desktop
usr/share/applications/org.gtk.PrintEditor4.desktop
usr/share/icons/hicolor/*/*/org.gtk.IconBrowser4*
usr/share/icons/hicolor/*/*/org.gtk.PrintEditor4*
usr/share/icons/hicolor/*/*/org.gtk.WidgetFactory4*
-usr/share/installed-tests/gtk-4.0
usr/share/man/*/gtk4-demo-application.*
usr/share/man/*/gtk4-demo.*
usr/share/man/*/gtk4-icon-browser.*
--- /dev/null
+usr/libexec/installed-tests/gtk-4.0
+usr/share/installed-tests/gtk-4.0
DOC_PKG := libgtk-$(APIVER)-doc
BIN_PKG := libgtk-$(APIVER)-bin
EXAMPLES_PKG := gtk-$(APIVER)-examples
+TESTS_PKG := gtk-$(APIVER)-tests
# files larger than 4k in size will be compressed by dh_compress
# so append a .gz suffix to avoid dangling symlinks
-e "s#@DOC_PKG@#$(DOC_PKG)#g" \
-e "s#@BIN_PKG@#$(BIN_PKG)#g" \
-e "s#@EXAMPLES_PKG@#$(EXAMPLES_PKG)#g" \
+ -e "s#@TESTS_PKG@#$(TESTS_PKG)#g" \
-e "s#@GNOME_TEAM@#$(UPLOADERS)#g" \
-e "s#@GTK_BINARY_VERSION@#$(GTK_BINARY_VERSION)#g" \
-e "s#@LIBDIR@#$(LIBDIR)#g" \
ifeq ($(filter %-examples,$(built_binaries)),)
configure_flags_deb += -Dbuild-examples=false
configure_flags_deb += -Ddemos=false
-configure_flags_deb += -Dinstall-tests=false
else
configure_flags_deb += -Dbuild-examples=true
configure_flags_deb += -Ddemos=true
+endif
+
+ifeq ($(filter %-tests,$(built_binaries)),)
+configure_flags_deb += -Dinstall-tests=false
+else
configure_flags_deb += -Dinstall-tests=true
endif
Restrictions: flaky, superficial
Tests: installed-tests
-Depends: dbus (>= 1.8), gnome-desktop-testing (>= 2018.1-1~), gtk-4-examples, iso-codes, locales | locales-all, librsvg2-common, xauth, xvfb
-Restrictions: allow-stderr, flaky
+Depends: dbus (>= 1.8), gnome-desktop-testing (>= 2018.1-1~), gtk-4-tests, locales | locales-all, xauth, xvfb
+Restrictions: allow-stderr
Tests: installed-tests-flaky
-Depends: dbus (>= 1.8), gnome-desktop-testing (>= 2018.1-1~), gtk-4-examples, iso-codes, locales | locales-all, librsvg2-common, xauth, xvfb
+Depends: dbus (>= 1.8), gnome-desktop-testing (>= 2018.1-1~), gtk-4-tests, locales | locales-all, xauth, xvfb
Restrictions: allow-stderr, flaky